Skip to content

Conversation

@dlqqq
Copy link
Collaborator

@dlqqq dlqqq commented May 16, 2025

Description

Demo

See this terminal output when stopping YRoomManager with 2 YRoom instances:

[I 2025-05-16 09:42:18.869 RtcExtensionApp] Stopping `YRoomManager` and deleting all 2 YRooms.
[I 2025-05-16 09:42:18.870 RtcExtensionApp] Stopping YRoom 'text:file:dc3214c6-938a-4dc4-975b-8d6b16e2b641'.
[I 2025-05-16 09:42:18.875 RtcExtensionApp] Stopping YRoom 'text:file:964eb6ba-8b92-4965-be77-d5b2500e246b'.
[I 2025-05-16 09:42:18.881 RtcExtensionApp] Stopped `self._process_message_queue()` background task for YRoom 'text:file:dc3214c6-938a-4dc4-975b-8d6b16e2b641'.
[I 2025-05-16 09:42:18.881 RtcExtensionApp] Stopped `self._process_scheduled_save()` background task for YRoom 'text:file:dc3214c6-938a-4dc4-975b-8d6b16e2b641'.
[I 2025-05-16 09:42:18.881 RtcExtensionApp] Stopped `self._process_message_queue()` background task for YRoom 'text:file:964eb6ba-8b92-4965-be77-d5b2500e246b'.
[I 2025-05-16 09:42:18.881 RtcExtensionApp] Stopped `self._process_scheduled_save()` background task for YRoom 'text:file:964eb6ba-8b92-4965-be77-d5b2500e246b'.
[I 2025-05-16 09:42:18.886 RtcExtensionApp] Stopped YRoom 'text:file:dc3214c6-938a-4dc4-975b-8d6b16e2b641'.
[I 2025-05-16 09:42:18.888 RtcExtensionApp] Stopped YRoom 'text:file:964eb6ba-8b92-4965-be77-d5b2500e246b'.
[I 2025-05-16 09:42:18.889 RtcExtensionApp] Successfully stopped `YRoomManager` and deleted all 2 YRooms.

Notice how now, the log statements for stopping both rooms are interleaved, demonstrating that the rooms are indeed being stopped concurrently.

@Zsailer Zsailer merged commit f24f551 into jupyter-ai-contrib:main May 16, 2025
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants